﻿{PE.DataSource id="cone" datasource="文章_内容页" itemId="@RequestInt_id" xslt="true" /}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="{PE.Field id="cone" fieldname="Title" /}" name="Description" />
<meta content="{PE.Field id="cone" fieldname="Keyword" /}" name="Keywords" />
<title>{PE.Field id="cone" fieldname="Title" /}-{PE.SiteConfig.SiteName /}</title>
<link href="{PE.SiteConfig.SkinPath/}default.css" rel="stylesheet" type="text/css" />
<link href="{PE.SiteConfig.SkinPath/}article.css" rel="stylesheet" type="text/css" />
<link href="{PE.SiteConfig.SkinPath/}commentary.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/Common.js"></script>
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.SkinPath/}js/tab.js"></script>
<script language="javascript" type="text/javascript" src="{PE.SiteConfig.ApplicationPath/}JS/jsPopup.js"></script>
<script language="javascript" type="text/javascript">
var base64DecodeChars = new Array(
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1,
-1,　0,　1,　2,　3,  4,　5,　6,　7,　8,　9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,
-1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1);

function base64decode(str) {
　　var c1, c2, c3, c4;
　　var i, len, out;
　　len = str.length;
　　i = 0;
　　out = "";
　　while(i < len) {
 /* c1 */
 do {
　　 c1 = base64DecodeChars[str.charCodeAt(i++) & 0xff];
 } while(i < len && c1 == -1);
 if(c1 == -1)
　　 break;
 /* c2 */
 do {
　　 c2 = base64DecodeChars[str.charCodeAt(i++) & 0xff];
 } while(i < len && c2 == -1);
 if(c2 == -1)
　　 break;
 out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4));
 /* c3 */
 do {
　　 c3 = str.charCodeAt(i++) & 0xff;
　　 if(c3 == 61)
　return out;
　　 c3 = base64DecodeChars[c3];
 } while(i < len && c3 == -1);
 if(c3 == -1)
　　 break;
 out += String.fromCharCode(((c2 & 0XF) << 4) | ((c3 & 0x3C) >> 2));
 /* c4 */
 do {
　　 c4 = str.charCodeAt(i++) & 0xff;
　　 if(c4 == 61)
　return out;
　　 c4 = base64DecodeChars[c4];
 } while(i < len && c4 == -1);
 if(c4 == -1)
　　 break;
 out += String.fromCharCode(((c3 & 0x03) << 6) | c4);
　　}
　　return out;
}
function utf8to16(str) {
　　var out, i, len, c;
　　var char2, char3;
　　out = "";
　　len = str.length;
　　i = 0;
　　while(i < len) {
 c = str.charCodeAt(i++);
 switch(c >> 4)
 {
　 case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7:
　　 // 0xxxxxxx
　　 out += str.charAt(i-1);
　　 break;
　 case 12: case 13:
　　 // 110x xxxx　 10xx xxxx
　　 char2 = str.charCodeAt(i++);
　　 out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F));
　　 break;
　 case 14:
　　 // 1110 xxxx　10xx xxxx　10xx xxxx
　　 char2 = str.charCodeAt(i++);
　　 char3 = str.charCodeAt(i++);
　　 out += String.fromCharCode(((c & 0x0F) << 12) |
　　　　((char2 & 0x3F) << 6) |
　　　　((char3 & 0x3F) << 0));
　　 break;
 }
　　}
　　return out;
}
 
function decode() {
　　var f = document.getElementById("content");
　　f.innerHTML = utf8to16(base64decode(f.innerHTML));
}

function redirecturl(url, tarid)
{
    location=url.replace(/{\$pageid\/}/g,tarid);
}

function refreshValidateCodeImage(ValidateCodeImageControl)
{
	ValidateCodeImageControl.src =  ValidateCodeImageControl.src + '?code=' + randomNum(10);
}
function randomNum(n){ 
	var rnd=''; 
	for(var i=0;i<n;i++)
		 rnd+=Math.floor(Math.random()*10);
	return rnd;
}

</script>
</head>
<body>
{PE.Label id="商城网站顶部(内容)" /}
<div id="center_all" class="main">
  <div id="main_bg">
    <div id="main_right">
      <div id="main_right_box">
        <!-- 网站位置导航信息开始 -->
        <div class="navigation">
          您现在的位置：<a href="{PE.SiteConfig.sitepath/}">{PE.SiteConfig.sitename /}</a>>>{PE.Label id="当前位置导航" nodeId="{PE.Field id="cone" fieldname="NodeID" /}" orientationNodeID="{PE.Field id="cone" fieldname="NodeID" /}" linkOpenType="2" postfix="正文内容" /} </div>
        <!-- 网站位置导航信息结束 -->
        {PE.Label id="右侧广告一" /}
        <div class="c_spacing"> </div>
        <!-- 主体内容开始 -->
        <div class="c_main_box">
          <!-- 标题 -->
          <div class="c_title_text"> <span>
            <h1> {PE.Field id="cone" fieldname="Title" /} </h1>
            </span> </div>
          <!-- 作者 -->
            <div class="c_title_author">
                        <div class="font_right"><span>点击数：{PE.Field id="cone" fieldname="Hits" /}</span> <span>【字体：<a href="javascript:fontZoomA();" class="top_UserLogin">小</a> <a href="javascript:fontZoomB();" class="top_UserLogin">大</a>】</span> <span>【<a href="{PE.SiteConfig.ApplicationPath/}User/Content/Favorite.aspx?Action=add&Id={PE.Field id="cone" fieldname="GeneralID" /}">收藏</a>】</span> <span>【<a href="{PE.SiteConfig.applicationpath/}Print.aspx?id={PE.Field id="cone" fieldname="GeneralID" /}">打印文章</a>】</span> <span>【<a href="{PE.SiteConfig.applicationpath/}ShowComment.aspx?id={PE.Field id="cone" fieldname="GeneralID" /}">查看评论</a>】</span> <span>{PE.Label id="转入后台编辑" ItemId="@RequestInt_id" /}</span> <span>{PE.Label id="内容签收" itemId="@RequestInt_id" /}</span> </div>
                       
                        <div class="clearbox"></div>
                    </div>　
          <!-- 正文 -->
          <div class="c_content_text">
            <div class="c_content_overflow" id="fontzoom">
            {PE.Field id="cone" fieldname="Content"  charge="true"  showerr="true" chargelength="50" /}<br />
            {PE.Field id="cone" fieldname="Vote"/}
</div>
          </div>
          <div class="c_bot_text"></div>
        </div>
        <!-- 主体内容结束 -->
        <!-- 评论开始 -->
   <span id="commentform"></span>
        <!-- 评论结束 -->
        </div>
    </div>
    {PE.Label id="文章节点左侧" /} </div>
</div>
{PE.Label id="网站底部" /}

{PE.Label id="评论标签" nodeId="{PE.Field id="cone" fieldname="NodeID" /}" /}
<script language="javascript" type="text/javascript">
//双击鼠标滚动屏幕的代码
var currentpos,timer;
function initialize()
{
timer=setInterval ("scrollwindow ()",30);
}
function sc()
{
clearInterval(timer);
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos !=document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize

//更改字体大小
var status0='';
var curfontsize=10;
var curlineheight=18;
function fontZoomA(){
  if(curfontsize>8){
    document.getElementById('fontzoom').style.fontSize=(--curfontsize)+'pt';
	document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt';
  }
}
function fontZoomB(){
  if(curfontsize<64){
    document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt';
	document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt';
  }
}
</script>
</body>
</html>
